package com.xuecheng.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;


@Data
@TableName("xc_learn_record")
public class XcLearnRecord implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	
	/**
	 * 课程id
	 */
	private Long courseId;
	
	/**
	 * 课程名称
	 */
	private String courseName;
	
	/**
	 * 用户id
	 */
	private String userId;
	
	/**
	 * 最近学习时间
	 */
	private LocalDateTime learnDate;
	
	/**
	 * 学习时长
	 */
	private Long learnLength;
	
	/**
	 * 章节id
	 */
	private Long teachplanId;
	
	/**
	 * 章节名称
	 */
	private String teachplanName;
	
	
}
